package com.cci.kangdao.fieldService.manager;

import com.cci.kangdao.fieldService.model.*;

/**
 * @author William Du
 * @date 2020/1/16
 */
public interface SyncCCGManager {

    String SYNC_ITEM_URL = "CcgSyncAppItemToCRM";

    String SYNC_ORDER_URL = "CcgSyncAppWorkOrderToCRM";

    String SYNC_STATUS_URL = "CcgSyncAppWOStatusToCRM";

    String SYNC_REPORT_URL = "CcgSyncAppReportToCRM";

    String syncServiceItemFromApp(FieldServiceEngineer engineer, FieldServiceItem fieldServiceItem);

    String syncServiceOrderFromApp(FieldServiceWorkOrder workOrder);

    Boolean syncOrderStatusFromApp(FieldServiceWorkOrder workOrder,String message);

    Boolean syncOrderStatusFromApp(FieldServiceUpgrade upgrade);

    Boolean syncReportFromAPP(WorkOrderReport report);

}
